<div class="m-tab s-tab">
	<h2 class="u-tt">字段集管理</h2>
	<ul>
		<li><a href="{$url|'AdminFieldset/index'}">字段集列表</a></li>
		<li class="z-crt"><a href="javascript:;">{$actionName}字段集</a></li>
	</ul>
</div>
<div class="m-form">
	<form name="" action="<?php echo url('AdminFieldset/'.$action.'Data'); ?>" method="post" id="form">
		<fieldset>
			<div class="formitm">
				<label class="lab">名称：</label>
				<div class="ipt">
					<input name="name" type="text" class="u-ipt u-ipt-5" id="name" value="{$info.name}" maxlength="100" datatype="*" />
					<p>字段集描述</p>
				</div>
			</div>
			<div class="formitm">
				<label class="lab">字段表：</label>
				<div class="ipt">
					<input name="table" type="text" class="u-ipt u-ipt-5" id="table" value="{$info.table}" maxlength="20" datatype="/^\w+$/" errormsg="字段表名只能为英文数字和下划线！"  />
					<p>字段表名称只能由英文数字下划线组成</p>
				</div>
			</div>
			<div class="formitm formitm-1  formitm-2">
				<input name="fieldset_id" type="hidden" value="{$info.fieldset_id}" />
				<button class="u-btn" type="submit">保存</button>
				<button class="u-btn s-btn-c3" type="reset">重置</button>
				<span class="status" id="status"></span> </div>
		</fieldset>
	</form>
</div>
<script>
Do.ready('base','form','dialog',function() {
	$('#form').duxForm({returnUrl:'{$url|"AdminFieldset/index"}'});
});
</script>